package com.ruoyi.test.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物流对象 migration_data
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
public class MigrationData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物流编号 */
    private Long id;

    /** 起始地 */
    @Excel(name = "起始地")
    private String fromCity;

    /** 目的地 */
    @Excel(name = "目的地")
    private String toCity;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long value;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFromCity(String fromCity) 
    {
        this.fromCity = fromCity;
    }

    public String getFromCity() 
    {
        return fromCity;
    }
    public void setToCity(String toCity) 
    {
        this.toCity = toCity;
    }

    public String getToCity() 
    {
        return toCity;
    }
    public void setValue(Long value) 
    {
        this.value = value;
    }

    public Long getValue() 
    {
        return value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fromCity", getFromCity())
            .append("toCity", getToCity())
            .append("value", getValue())
            .toString();
    }
}
